package com.lyfx.ly.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * @author lsy
 * @create 2020-07-15-20:52
 */
@Data
public class StudyStepVo {
    /**
     * 学习步骤id主键
     */
    private Long stepId;
    /**
     * 步骤名字
     */
    private String stepName;
    /**
     * 步骤父id
     */
    private Long parentSid;
    /**
     * 步骤层级
     */
    private Integer stepLevel;
    /**
     * 课程id
     */
    private Long courseId;
    /**
     * 阅读人数
     */
    private Integer readNum;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 不为空的时候返回
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<StudyStepVo> children;
}
